
  const initialState = {
    isHide:false,
    isLogin:false
   }
   export default (state = initialState, action) => {
     switch (action.type) {
       case 'COMMON_ISDRAWER':
       return Object.assign({}, state,{isHide:action.isHide})
       case 'COMMON_LOGIN':
       return Object.assign({}, state,{isLogin:action.isLogin})
       default:
       return state
     }
   }